<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="" th:action="${pan}" method="get">
        <p>id:<span th:text="${user?.id}"></span><input type="text" th:value="${user?.id}" name="id"/></p>
        <p>姓名:<input type="text" th:value="${user?.name}" name="name"></input></p>
        <p>年龄:<input type="text" th:value="${user?.age}" name="age"></input></p>
        <p>邮箱号:<input type="text" th:value="${user?.email}" name="email"></input></p>
        <input type="submit" value="提交">
    </form>
</body>
</html>